<template>
  <div>
    <el-container>
      <el-header>
        <Header></Header>
      </el-header>
      <el-container>
        <el-aside width="200px">
          <Aside></Aside>
        </el-aside>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
// @ is an alias to /src
import Header from '@/components/Header'
import Aside from '@/components/Aside'
export default {
  name: 'Home',
  components: {
    Header,
    Aside,
  }
}
</script>
<style scoped>
.el-header {
  background-color: #333333;
  justify-content: space-between;
  padding-left: 0;
  color: #ffffff;
  align-items: center;
  font-size: 24px;
}

.el-aside {
  background-color: #333333;
  color: #333;
}

.el-main {
  background-color: #fff;
  color: #333;
  text-align: center;
}
.el-container {
  height: 730px;
}
body > .el-container {
  margin-bottom: 40px;
}
</style>
